home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dirut / secret3.zip / SECRET.DOC < prev   
Text File  |  1992-10-23  |  4KB  |  103 lines

  1. PROGRAM: MDSECRET.COM,CDSECRET.COM,RDSECRET.COM
  2.  
  3. GENERAL FUNCTION: To allow special subdirectories on a drive that are not
  4. revealed by DIR.
  5.  
  6. WHY IS IT NEEDED?  There is no way in DOS to conceal entire subdirectories.
  7.  
  8. INSTALLATION: None
  9.  
  10. FORMAT:                   MDSECRET
  11.                           CDSECRET
  12.                           RDSECRET
  13.  
  14. EXAMPLES: None
  15.  
  16. HOW TO USE IT:  These three programs all run analogously to MD,CD, and
  17. RD, except that they take no DOS arguments.
  18.      To create a "secret" subdirectory, run MDSECRET.  You will
  19. be prompted for a name of up of 7 characters.
  20.      To copy files into your secret subdirectory, make it your current
  21. subdirectory by running CDSECRET, then copy files into it.  You will be
  22. prompted for the secret subdirectory name.  You can then use the normal
  23. CD command to change subdirectories, as well as all normal DOS commands
  24. and programs.
  25.      To remove a secret subdirectory, first make it your current directory,
  26. then delete all files in it, and change subdirectories to one not within
  27. your secret subdirectory.  Then run RDSECRET, which will prompt you for
  28. the name of the secret subdirectory to remove.
  29.  
  30. OTHER EFFECTS: None
  31.  
  32. SYSTEM REQUIREMENTS:  Works with DOS 2.x and 3.0.
  33.  
  34. COMMENTS: None
  35.  
  36. SOURCE OF PROGRAM: Unknown.
  37.  
  38. ***********************************************************************
  39.  
  40. October 1992:
  41. v1.1, v1.2  Toad Hall disassembly and rewrite.
  42.  
  43. I remember these utilities from long ago (original file dates were
  44. 1985!). When they were distributed yet again via one of the FIDO Echoes,
  45. I decided to disassemble and rewrite them.
  46.  
  47. Various tweaks and tightenings; trimming off the garbage XMODEM transfers
  48. added to the end of the original executables, etc.  Added usage and help,
  49. added commandline parms as well as tightening the original prompted directory
  50. name input.  Various help switches ("?", "-h", "/h", etc.) as a paramter for
  51. any of these utilities will now give you help.  Adding the ability to process
  52. a commandline parameter now lets you use them in batch files.
  53.  
  54. The rewrite is so extensive that I probably now have the right to officially
  55. and finally declare these new versions to be in the Public Domain.
  56. Let It Be So.
  57.  
  58. Still, all honor and glory to the ancient hacker (whose name has been lost
  59. in the Mists of Time) that wrote them in the first place.
  60.  
  61. I believe these utilities should still be good for up through DOS 5.0.
  62. Of course, I haven't *tested* them on anything beyond PC-DOS 3.1.
  63. That's left as an exercise for the student.
  64.  
  65. No, there's no fancy pathing:  you only get to enter up to 7 characters
  66. for that directory name, and it's only gonna be made as a subdirectory for
  67. your *current* level.  So don't go getting tricky, like
  68.  
  69.     CDSECRET C:\HOME\DUMP\FOO
  70.  
  71. It just ain't gonna happen.  Or worse still, it just might.  With *very*
  72. unpredictable effects!   On thy own head be it.
  73. Usage:    MDSECRET    Prompts you for a directory name to create.
  74.             Gives help if you do something really
  75.             clever (or ignorant), like entering "?"
  76.             or just a Return, or an illegal name.
  77.  
  78.     MDSECRET [?]    Gives you short instructions on how to create
  79.             secret directories.
  80.     MDSECRET [foo]    Creates secret directory "\foo" (kinda).
  81.             Returns various DOS or other error levels,
  82.             along with a simple error msg ("Error #x")
  83.             if the creation fails.
  84.  
  85.     CDSECRET    Just like above, but tries to *change* to that
  86.             secret directory.
  87.  
  88.     RDSECRET    Just like above, but tries to *remove* that
  89.             secret directory.
  90.     
  91.  
  92. David Kirschbaum
  93. Toad Hall
  94. kirsch@sesi.com  (Internet or uunet)
  95.  
  96.  
  97. v1.3  Unbelievably stupid bug sneaked by .. and I *swear* I tested
  98.       this program!  One line rem'ed out in GETPARM.INC.  Dumb dumb dumb.
  99.  
  100. David Kirschbaum
  101. Toad Hall
  102. kirsch@sesi.com
  103.